package com.ss.android.article.base.feature.f.a;

import android.os.Handler;
import com.ss.android.article.base.app.AppData;

final class e implements Runnable {
    private final b a;

    e(b arg1) {
        this.a = arg1;

    }

    public final void run() {
        if(this.a.f >= 3 || this.a.f + 1 > AppData.getInstance().mVideoPlayRetryPolicy) {
            this.a.h();
        }
        else {
            String v0 = this.a.f();
            ++this.a.f;
            Handler v2 = this.a.e;
            long v0_1 = android.support.design.a.isTextEmpty(v0) ? 0 : ((long)(AppData.getInstance().mVideoPlayRetryInterval * 1000));
            v2.postDelayed(((Runnable)this), v0_1);
        }
    }
}

